package com.moore.service;

import com.moore.bean.EducationBackground;
import com.moore.bean.ProjectExperience;
import com.moore.bean.Resume;
import com.moore.bean.WorkExperience;
import com.moore.dto.ResponseData;
import org.springframework.web.bind.annotation.RequestBody;

public interface ResumeService {

    //获取用户的简历通过id
    ResponseData getUserResume(Integer candidateId);
    //修改用户简历
    ResponseData updateUserResume(Resume resume);
    //获取用户工作经历
    ResponseData getUserWorkExp(Integer resumeId);
    //添加用户工作经历
    ResponseData addUserWorkExp(WorkExperience workExperience);

    //修改用户工作经历
    ResponseData updateUserWorkExp(WorkExperience workExperience);
    //删除用户的工作经历
    ResponseData delUserWorkExp(Integer experienceId);
    //获取用户项目经理
    ResponseData getUserProExp(Integer resumeId);
    //添加用户项目经历
    ResponseData addUserProExp(ProjectExperience projectExperience);
    //修改用户项目经理
    ResponseData updateUserProExp(ProjectExperience projectExperience);
    //删除用户项目经理
    ResponseData delUserExp(Integer id);
    //获取用户教育经历
    ResponseData getUserEduExp(Integer resumeId);
    //添加用户教育经历
    ResponseData addUserEduExp(EducationBackground educationBackground);
    //修改教育经历
    ResponseData updateEduExp(EducationBackground educationBackground);
    //删除教育经历
    ResponseData delEduExp(Integer id);
}
